package cn.edu.scau.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
public class Dish implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 7445591290096044430L;

	/**
	 * 膳食编号
	 */
	private Integer dishid;

	/**
	  * 膳食名称
	 */
	@NotBlank(message = "膳食名称不能为空")
    private String dishname;

    /**
         * 膳食价格
     */
    private BigDecimal dishprice;

    /**
         * 膳食原材料
     */
    private String dishmaterial;

    /**
         * 膳食类型
     */
    private String dishtype;

    /**
         * 膳食特点
     */
    private String dishfeatures;


}